package com.hugedata.cdn.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.hugedata.cdn.service.task.bean.PushtaskInitBean;
import com.hugedata.imsp.jabberc.IMSPClient;

/**
 * 
 * 项目名称：cdn 类名称：SystemInspect 类描述： 创建人：zhaoaihua 创建时间�?013-10-28 下午1:56:48
 * 修改备注�?
 * 
 * @version
 * 
 */
public class SystemInspect
{

    private IMSPClient iMSPCilent;

    protected CommonUtil commonutil;

    private PushtaskInitBean pushtaskInitBean;


    protected final Log log = LogFactory.getLog(getClass());

    public void init() throws CdnException
    {
        // create iMSPCilent
        iMSPCilent = IMSPClient.getInstance();
        // 获取任务推送线程池对象
    }

    /**
     * 获取
     * 
     * @throws InterruptedException
     *             初始化线程终止异�?
     */
    public IMSPClient getClient()
    {

        return iMSPCilent;

    }

    public void setCommonutil(CommonUtil commonutil)
    {
        this.commonutil = commonutil;
    }

    public PushtaskInitBean getPushtaskInitBean()
    {
        return pushtaskInitBean;
    }

    public void setPushtaskInitBean(PushtaskInitBean pushtaskInitBean)
    {
        this.pushtaskInitBean = pushtaskInitBean;
    }

}
